package org.example.video;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.widget.VideoView;

public class Video extends Activity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		// Fill view from resource
		setContentView(R.layout.activity_video);
		VideoView video = (VideoView) findViewById(R.id.video);
		// Load and start the movie
		video.setVideoPath("C:\\Users\\vector\\Downloads\\samplevideo.3gp");
		video.start();
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		getMenuInflater().inflate(R.menu.activity_video, menu);
		return true;
	}
}
